package cn.operation.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @FileName: CvBrandDTO
 * @Description: 商品车品牌
 * @author: fancy
 * @date: 2017/5/24.
 */

@ApiModel(value = "CvBrandDTO", description = "商品车品牌返回对象")
public class CvBrandDTO implements Serializable {

	@ApiModelProperty(value = "主键id", position = 1)
	private Integer id;

	@ApiModelProperty(value = "品牌编码", position = 2)
	private String code;

	@ApiModelProperty(value = "品牌首字母", position = 3)
	private String prefix;

	@ApiModelProperty(value = "品牌名称", position = 4)
	private String name;

	@ApiModelProperty(value = "状态，10:正常、20:禁用", allowableValues = "10,20", position = 5)
	private String status;

	@ApiModelProperty(value = "备注", position = 6)
	private String comment;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	@Override
	public String toString() {
		return "CvBrandDTO{" +
				"id=" + id +
				", code='" + code + '\'' +
				", prefix='" + prefix + '\'' +
				", name='" + name + '\'' +
				", status='" + status + '\'' +
				", comment='" + comment + '\'' +
				'}';
	}
}
